package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalCustomerWxDao;
import com.appkubes.portal.core.entity.PortalCustomerWx;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalCustomerWxService extends AbstractBaseService<BasePortalCustomerWxDao, PortalCustomerWx> {

    PortalCustomerWx getOneByEntity(PortalCustomerWx entity);

    List<PortalCustomerWx> selectListByEntity(PortalCustomerWx entity);

    IPage<PortalCustomerWx> selectPageByEntity(IPage<PortalCustomerWx> page);
    IPage<PortalCustomerWx> selectPageByEntity(PageVO pageVO);

    IPage<PortalCustomerWx> selectPageByEntity(PortalCustomerWx entity, IPage<PortalCustomerWx> page);
    IPage<PortalCustomerWx> selectPageByEntity(PortalCustomerWx entity, PageVO pageVO);

    IPage<PortalCustomerWx> selectPageByEntity(PortalCustomerWx entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalCustomerWx entity);
}
